package com.geostar.constructionland.index.entity.model;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * 分页model
 */
@Data
public class PaginModel {
    @Min(value = 0,message = "页码不能小于0")
    private int pagenum;
    @Min(value = 10,message = "每页数量不小于10")
    @Max(value = 100,message = "每页数量不大于100")
    private int pagesize;
}
